package com.mingqi.enetconnected.view.Dialog.tree;

/**
 * @author yaxi
 * @date 2018/9/18
 */
public class TreeData implements IDynamicTreeData {

    private int dataLevel;
    private String showLeft;
    private String showLeftSub;
    private String showRight;
    private String levelName;
    private boolean lastLevel;

    private boolean treeSelected;

    public void setDataLevel(int dataLevel) {
        this.dataLevel = dataLevel;
    }

    public void setShowLeft(String showLeft) {
        this.showLeft = showLeft;
    }

    public void setShowLeftSub(String showLeftSub) {
        this.showLeftSub = showLeftSub;
    }

    public void setShowRight(String showRight) {
        this.showRight = showRight;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public void setLastLevel(boolean lastLevel) {
        this.lastLevel = lastLevel;
    }

    @Override
    public int getDataLevel() {
        return dataLevel;
    }

    @Override
    public String getShowLeft() {
        return showLeft;
    }

    @Override
    public String getShowLeftSub() {
        return showLeftSub;
    }

    @Override
    public String getShowRight() {
        return showRight;
    }

    @Override
    public String getLevelName() {
        return levelName;
    }

    @Override
    public boolean isLastLevel() {
        return lastLevel;
    }

    @Override
    public boolean getTreeSelected() {
        return treeSelected;
    }

    @Override
    public void setTreeSelected(boolean selected) {
        treeSelected = selected;
    }
}
